package cn.demon.org.service;
import cn.demon.basic.service.IBaseService;
import cn.demon.dto.ShopDto;
import cn.demon.org.domain.Employee;
import cn.demon.org.domain.Shop;
import cn.demon.org.domain.ShopAuditLog;

import javax.mail.MessagingException;
import java.util.List;

/**
 * 职员接口
 */

public interface IShopService extends IBaseService<Shop> {

    /**
     * 新入驻店铺校验信息
     * @param shop
     */
    void settlement(Shop shop);


    /**
     * 审核通过
     * @param log
     */
    void pass(ShopAuditLog log) throws MessagingException;


    /**
     * 驳回店铺入驻
     * @param log
     */
    void reject(ShopAuditLog log) throws MessagingException;

    List<ShopDto> getShopState();
}
